﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Smart
{
    public class ConstansUtils
    {
        /// <summary>
        /// 应用程序文件夹路径
        /// </summary>
        public static string AppDataFolder
        {
            get
            {
                return
                    System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), AppDomain.CurrentDomain.SetupInformation.ApplicationName);
            }
        }

        /// <summary>
        /// 配置信息文件夹
        /// </summary>
        public static string AppConfigFolder
        {
            get
            {
                return
                    System.IO.Path.Combine(AppDataFolder, "Config");
            }
        }

    }
}
